home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.9 KB | 78 lines | [TEXT/MPS ] |
- /*
- File: Keyboard.idl
-
- Contains: interfaces for keyboard componets
-
- Version: Technology:
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __KEYBOARD_IDL__
- #define __KEYBOARD_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #ifndef __EVENTS_IDL__
- #include <Events.idl>
- #endif
- #ifndef __IOITERATOR_IDL__
- #include <IOIterator.idl>
- #endif
- #ifndef __TIMING_IDL__
- #include <Timing.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_PREEMPTIVE
- /* Virtual ID for a keyboard */
- typedef UInt32 KeyboardID;
-
- /* System 8.x version of of a Keymap */
- typedef OpaquePtr KeyboardMap; /* Substituted OpaquePtr for array of Byte of size 32 */
-
- /* System 8.x version of a virtual key */
- typedef UInt8 VirtualKeyCode;
-
- /* System 8.x definition of keyboard modifiers */
- typedef UInt16 KeyboardModifiers;
-
- /* System 8.x definition of keyboard direction */
- typedef short KeyDirection;
-
- typedef UInt32 KeyboardDeviceMode;
-
- /* Keyboard Event returned from I/O subsystem */
- typedef SOMLargeStruct LowLevelKeyEvent; /* Derived from a struct of 18 bytes in size */
-
- typedef UInt32 KeyboardHardwareType;
-
- typedef SOMLargeStruct KeyboardIOIteratorData; /* Derived from a struct of 34 bytes in size */
-
- typedef KeyboardIOIteratorData KeyboardDeviceRecord;
-
- typedef boolean KeyboardLEDState;
-
- typedef short KeyboardLEDSelector;
-
- /* Warning: This routine is intended only for clients who need to bypass the events system altogether. */
- /* Device Iteration */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __KEYBOARD_IDL__ */
-
-